package com.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.entity.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface IViewTicketService extends IService<ViewTicket> {
    //搜索+分页
    public PageResult<ViewTicket> search(PageDTO<ViewTicket> pageDTO);
    //查找所有景区
    public Result scenicSearch();
    //添加门票或编辑
    public Result addTicket(Ticket ticket);
    //编辑
    public Result edit(Ticket ticket);
    //删除
    public Result del(Ticket ticket);
    //批量删除
    public Result delAll(List ids);
}
